Skip to content

fixed thrown error check#593

Merged
dxg merged 2 commits intodresende:masterfrom
keblodev:rz-error-check-issue
Feb 6, 2015
Merged

fixed thrown error check#593
dxg merged 2 commits intodresende:masterfrom
keblodev:rz-error-check-issue

Conversation

@keblodev
Copy link

Because if there's no 'find module' in ex.message ,the -1 value from indexOf is equal to true and you'll never know what hit you.

Right now basically on any error thrown in this try {} catch - you'll get "Connection protocol not supported" , which is wrong

Please review.

@keblodev keblodev force-pushed the rz-error-check-issue branch from 0246bbd to 164aea6 Compare December 29, 2014 19:11
@dxg
Copy link
Collaborator

dxg commented Jan 12, 2015

Good catch.
Could you also add a test to orm-exports.js?

@keblodev
Copy link
Author

yes - sure :)

@keblodev keblodev force-pushed the rz-error-check-issue branch 3 times, most recently from 77d4859 to fbb53fa Compare January 13, 2015 20:13
@keblodev
Copy link
Author

@dxg , done. Please take a look.

@dxg
Copy link
Collaborator

dxg commented Feb 6, 2015

I wish there were 48 hours in the day... sorry for the delay.

dxg added a commit that referenced this pull request Feb 6, 2015
@dxg dxg merged commit 1f6be24 into dresende:master Feb 6, 2015
@dxg
Copy link
Collaborator

dxg commented Mar 18, 2015

Published as part of v2.1.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants